<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;

            box-sizing: border-box;
        }
        .container{
            width: 360px;
            height: 100vh;
            background-color: #ccc;
            margin: 0 auto;
        }
        .footer{
            border-top: 1px solid #000;
            background-color: #fff;
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 360px;
            margin: 0 auto;
            display: flex;
            justify-content: space-around;
        }

        .footer img{
            width: 40px;
            height: 40px;
        }
        .footer div{
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    </style>
</head>
<body>

    <div class="container">
        <div class="footer">
            <div>
                <img src="./footer/home.png" alt=""> 首页
            </div>
            <div>
                <img src="./footer/category.png" alt="">分类
            </div>
            <div>
                <img src="./footer/cart.png" alt=""> 购物车
            </div>
            <div>
                <img src="./footer/me.png" alt=""> 我的
            </div>
        </div>
    </div>

</body>
<script type="text/javascript">

</script>

</html>
